<%@ page language="C#" autoeventwireup="true" CodeBehind="RuleList.aspx.cs"  inherits="PayRoller.Manage.RuleSet.RuleList" %>
<%@ Register Assembly="Huayou.Common" Namespace="Huayou.UI.WebControls" TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
	<LINK href="../css.css" type="text/css" rel="stylesheet">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body topmargin="0" leftmargin="0">
    <form id="form1" runat="server">
<table width="99%"  border="0" cellspacing="0" cellpadding="0" align="center" class="NormalText"> 
  <tr>
    <td style="height: 40px" class="HeadText">Website Rules</td>
  </tr>
  <tr>
    <td height="22" align=center>
        <cc1:datagridtable CellPadding=1 CellSpacing=1 BackColor=#cccccc Width=65% id="dgdList" runat="server" BorderWidth="0px" BorderStyle="None" IsAllowPaging="True" PageSize="12" OnDataBinding="dgdList_DataBinding" OnPageIndexChanged="dgdList_PageIndexChanged" AutoGenerateColumns="False" CssClass="tableGrid" MaxRecord="0" PageCSS="scrollButton" AllowPaging="True">
            <PagerStyle CssClass="gridPager" BackColor="White" />
            <SelectedItemStyle CssClass="gridSelectedItem" />
            <ItemStyle Height="25px" CssClass="gridItem" BackColor="White"></ItemStyle>
			<HeaderStyle Height="22px" CssClass="right-ta-ti01" Font-Bold="True"></HeaderStyle>
            <AlternatingItemStyle CssClass="gridAltItem" />
            <FooterStyle CssClass="gridFooter" BackColor="White" />
            <EditItemStyle CssClass="gridEditItem" />
            <Columns>
                <asp:BoundColumn DataField="Sid" HeaderText="Sid"></asp:BoundColumn>
                <asp:BoundColumn DataField="Name" HeaderText="Rule name"></asp:BoundColumn>
                <asp:TemplateColumn HeaderText="Edit">
                    <itemtemplate>
<a href="RuleEdit.aspx?Sid=<%# Eval("Sid")%>">Edit</a>
</itemtemplate>
                </asp:TemplateColumn>
                <asp:TemplateColumn HeaderText="Popedom">
                    <itemtemplate>
<a href="RuleSet.aspx?Sid=<%# Eval("Sid")%>">Popedom</a>
</itemtemplate>
                </asp:TemplateColumn>
                <asp:TemplateColumn HeaderText="Delete">
                    <itemtemplate>
<a href="RuleDel.aspx?Sid=<%# Eval("Sid")%>" onclick="return confirm('Really Delete It?');">Delete</a>
</itemtemplate>
                </asp:TemplateColumn>
            </Columns>
        </cc1:datagridtable>
    </td>
  </tr>
  <tr>
  <td align="left">
  <asp:TextBox id="txtParamstr" runat="server" Visible="False" Width="48px"></asp:TextBox>
  </td>
  </tr>
  <tr>
  <td align="center">
  <asp:Label ID="lblTip" runat="server"></asp:Label>
  &nbsp;&nbsp;
  <a href="#" onclick="history.go(-1);">Return</a>
  </td>
  </tr>
</table>
    </form>
</body>
</html>
